package com.xm2.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author
 * @Date 2018/12/10 20:35
 * @Description
 */
@Controller
@RequestMapping("/login")
public class LoginController {
    @GetMapping("/")
    public String toLogin(){
        return "main";
    }
}
